package com.example.mall.dao;

import com.example.mall.entity.Admin;

import java.util.List;

public interface AdminDAO {
    List<Admin> selectAll();
    Admin selectOneById(Integer id);
    Admin selectOneByUsername(String username);
    List<Admin> query(Integer page, Integer pageSize, Admin admin);
    void save(Admin admin);
    void delete();
    void update(Admin admin);
}
